package com.cloudkinto.service.orderrepair.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class OrderRepairExportVo {
    @Excel(name = "维修单号")
    private String repairNo;
    @Excel(name = "自定义单号")
    private String customerNo;
    @Excel(name = "建单日期", exportFormat = "yyyy-MM-dd")
    private Date createTime;

    @Excel(name = "维修类型")
    private Integer type;

    @Excel(name = "公司标识")
    private String companyCode;
    @Excel(name = "退货单号")
    private String backNo;

    @Excel(name = "客户姓名")
    private String customerName;

    @Excel(name = "snNo")
    private String snNo;

    @Excel(name = "故障类型")
    private String labelName;

    @Excel(name = "状态")
    private String status;

    @Excel(name = "sku")
    private String sku;

    @Excel(name = "总维修数量", type = 10)
    private Integer quantity;

    @Excel(name = "已维修数量", type = 10)
    private Integer count;

    @Excel(name = "维修结果", replace = {"维修完成_0", "无法维修_1"})
    private Integer repairResult;

    @Excel(name = "平均维修时间(分钟)")
    private Integer repairingMin;

}
